<link  type="text/css" rel="Stylesheet" href="css/order.css"/>
<script type="text/javascript" src="js/lineShow.js"></script>

<script type="text/javascript">
	document.getElementById('index').className='';
	document.getElementById('car_<?php  echo $cateid[0];?>').className='yes';
</script>
<!--show开始-->
<div class="topBar">您现在的位置：<a href="<?php echo site_url();?>">首页</a> <span>&gt;</span> <a href="<?php echo site_url();?>/car_cate/car_catelist/<?php echo $cateid[0];?>"><?php echo $carclass['classname'][$cateid[0]]?></a> <span>&gt;</span> <a href="<?php echo site_url();?>/car_cate/sub_carclass/<?php echo $cateid[1];?>"><?php echo $carclass['classname'][$cateid[1]]?></a> <span>&gt;</span><?php echo $carInfo['list'][0]->car_title;?></div>
<div class="box">
    <?php $this->load->view('inc/left');?>
    <div class="lineR770">
        <div class="lineMain">
            <span class="nature_0"></span>
            <h1 class="title"><?php echo $carInfo['list'][0]->car_title;?>
</h1>
            <div class="lineMPics">
				<div style="position:relative;width:240px;height:180px;border:1px #ddd solid;padding:2px;background:#eee;overflow:hidden;">
                    <div id="SlideContainer">	
					<?php 
						if(!empty($carInfo['annex'][$carInfo['list'][0]->id])){
							$annex=$carInfo['annex'][$carInfo['list'][0]->id];
							$i=0;
							for($len=count($annex);$i<$len;$i++){
								if ($annex[$i]->image==1):?>
									<img src="<?php echo $this->platform->file_url($annex[$i]->folder.'/'.$annex[$i]->name.'.'.$annex[$i]->type);?>" width="240" height="180" alt="<?php echo $carInfo['list'][0]->car_title;?>" />
								<?php else:?>
									<img src="<?php echo "/templates/img/nopic.jpg";?>" maxwidth="240" maxheight="180" alt="<?php echo $carInfo['list'][0]->car_title;?>" />
								<?php endif;}?>	
					<?php }else{?>	
							<img src="<?php echo "/templates/img/nopic.jpg";?>" maxwidth="240" maxheight="180" alt="<?php echo $carInfo['list'][0]->car_title;?>" />
					<?php }?>												
                    </div>
                    <div id="SlideNav"></div>
                </div>
                <!--<p>客户满意度：<b linereviewss="0" haoping="11"></b> 基于 <span>0</span> 次客户回访</p>-->
                <div class="lineSet"><a href="javascript:window.print();" class="print" target="_blank"></a><a  href="javascript:window.external.AddFavorite('<?php echo site_url();?>','<?php echo $siteSetings["site_name"]?>')" class="collection"></a> </div>
                <div class="lineShare">
                    <!-- JiaThis Button BEGIN -->
                    <div id="ckepop">
                        <span class="jiathis_txt">分享到：</span>
                        <a class="jiathis_button_qzone"></a>
                        <a class="jiathis_button_tsina"></a>
                        <a class="jiathis_button_tqq"></a>
                        <a class="jiathis_button_renren"></a>
                        <a class="jiathis_button_kaixin001"></a>
                        <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
                        <a class="jiathis_counter_style"></a>
                    </div>
                    <script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"> </script>
                    <!-- JiaThis Button END -->
                </div>
            </div>
            <div class="lineMContent">
                <ul class="lineMCother">
	                    <li><span>车 型 ：</span><b class="money" style="font-size:22px;" id="price"><?php echo $carInfo['list'][0]->car_model;?></b></li>
	                    <li><span>价 格 ：</span><b class="money" style="font-size:18px;" id="price">¥<?php echo $carInfo['list'][0]->per_price;?>/日</b></li>
                    	<li><span>车 况 ：</span><b class="money"><?php echo $carInfo['list'][0]->car_conditions;?></b></li>
	               		<li><span>线路分类:</span><a href="/car_cate/car_catelist/<?php echo $cateid[0];?>"><?php echo $carclass['classname'][$cateid[0]]?></a></li>
					</ul>
                <div class="lineMCmore">
                    <div>预订电话：</div>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">

                      <tr>
                        <td colspan="3" height="55"><input type="button" value=" " class="btn142x37"  /></td>
                      </tr>
                      <tr>
                        <td colspan="3">直接拨打 <b class="money" style="font-size:16px;">0591-83837886 </b> 咨询/预订</td>
                      </tr>
                    </table>
                </div>
            </div>
        </div>
		<div id="calendarcontainer1"></div>
        <!--<h1 class="lineProtit">出发日期与价格</h1>
        <div class="lineText" id="calendarcontainer"></div>-->
        <h1 class="lineProtit"><span><a href="<?php echo site_url('/main/line_show/'.$carId);?>#">返回顶部</a></span>详情</h1>
        <div class="lineText"><?php echo $carInfo['list'][0]->car_info ?></div>

    </div>
    <div class="clearit"></div>
</div>
<div id="citypiclist" style="display:none">
</div>
<script language="javascript">
webpath='/';
link['linebooking']='/line/booking.aspx?id=223';
link['linebooking']+=link['linebooking'].indexOf('?')!=-1?'&':'?';
</script>
<script type="text/javascript">
//为热门目的地加图片
$('li[hot="1"]').append('<img src="/Images/remai.gif" />');
$(function(){
	if($('#SlideContainer > img').length>0)
	{
		$('#SlideContainer').cycle({
			fx:'cover,fade,fadeZoom,growX,growY,scrollUp,scrollDown,scrollLeft,scrollRight,scrollHorz,scrollVert,turnUp,turnDown,turnLeft,turnRight,uncover,wipe,zoom',
			speed:  2000,
			timeout: 4000,
			pager:  '#SlideNav',
			before:function(){
				$('#SlideTitle').html('<a href="'+this.href+'" target="_blank">'+this.title+'</a>'); 
			}
		});
	}
});
</script>
<!--show结束-->
    <?php $this->load->view('inc/footer');?>
</body>
</html>